package net.tngou.entity;

import java.io.Serializable;



public class Ask  implements Serializable
{

	private static final long serialVersionUID = 1L;
//	 private long id;
	 private String access_token;// 用户授权
	 private String callback;//Jsonp返回数据
	 private int rows = 10;//显示大小
	 private int size = 1000;//显示大小
	 private int page =1;//当前页
	 private int start=1;//开始条数
	 private String name;//名称
	 private String keyword; //关键字
	 private String type;//请求类型
	 private String url;//
//	public long getId() {
//		return id;
//	}
//	public void setId(long id) {
//		this.id = id;
//	}
	public String getCallback() {
		return callback;
	}
	public void setCallback(String callback) {
		this.callback = callback;
	}
	
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getStart() {
		return start;
	}
	public void setStart(int start) {
		this.start = start;
	}
	public String getKeyword() {
		return keyword;
	}
	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}
	
	public int getRows() {
		if(rows>100)return 100;//设置最大的单页数据
		return rows;
	}
	public void setRows(int rows) {
		this.rows = rows;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAccess_token() {
		return access_token;
	}
	public void setAccess_token(String access_token) {
		this.access_token = access_token;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public int getSize() {
		return size;
	}
	public void setSize(int size) {
		this.size = size;
	}
	
	 
	 
	 
}
